package com.hjy;

import org.apache.zookeeper.KeeperException;

import java.io.IOException;

public class ServerApplication {
    public static void main(String[] args) throws IOException, InterruptedException, KeeperException, ClassNotFoundException {
        Class<?> aClass = Class.forName("com.rpc.RpcFactory");


        //创建一个服务对象
        //        UserService userService = new UserServiceImpl();
        //注册
//        RpcFactory.registerService(UserService.class, userService);
    }
}
